.App {
  min-height: 100vh;
}

.main-layout {
  min-height: 100vh;
}

.main-header {
  background: #1890ff;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  
  .header-left {
    display: flex;
    align-items: center;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    
    .user-info {
      cursor: pointer;
      padding: 8px 12px;
      border-radius: 6px;
      transition: background-color 0.3s ease;
      
      &:hover {
        background-color: rgba(255, 255, 255, 0.1);
      }
    }
  }
}

.main-sider {
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.06);
  
  .ant-layout-sider-children {
    background: white;
  }
  
  .ant-menu {
    .ant-menu-item {
      margin: 4px 8px;
      border-radius: 6px;
      
      &.ant-menu-item-selected {
        background: #e6f7ff;
        color: #1890ff;
        
        .anticon {
          color: #1890ff;
        }
      }
      
      &:hover {
        background: #f5f5f5;
      }
    }
  }
}

.main-content {
  background: #f5f5f5;
  padding: 0;
  min-height: calc(100vh - 64px);
  overflow-x: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .main-header {
    .header-content {
      padding: 0 16px;
    }
    
    .header-left {
      h3 {
        font-size: 18px !important;
      }
    }
    
    .header-right {
      .ant-btn {
        padding: 4px 8px;
        font-size: 12px;
      }
    }
  }
}